package com.lychee.moli.service.serviceimpl;

import com.lychee.moli.dao.IProductDao;
import com.lychee.moli.entity.ProductEntity;
import com.lychee.moli.service.IProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Lychee on 2018/4/10 15:40.
 * <p>
 * Author:Hejingzhou
 * <p>
 * Email:tcowork@163.com
 */
@Service
public class ProductListImpl implements IProductService {

    @Resource
    private IProductDao productDao;

    public List<ProductEntity> showAllProduct() {
        return productDao.showProduct();
    }
}
